xen/arm: move a few DT related defines to public/device_tree_defs.h
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 31 Jul 2018 23:27:45 +0000 (16:27 -0700)
committerJulien Grall <julien.grall@arm.com>
Wed, 22 Aug 2018 15:27:42 +0000 (16:27 +0100)
commit1c898a9fec7e45eedbcbf0346db10879fac2b4a5
treea771eec895f3fc64effa12762f1c8de39406feaa
parentb8350d38e7e1287e7b21cb2db5dadddd8e7b80b5
xen/arm: move a few DT related defines to public/device_tree_defs.h

Move a few constants defined by libxl_arm.c to
xen/include/public/device_tree_defs.h, so that they can be used from Xen
and libxl. Prepend GUEST_ to avoid conflicts.

Move the DT_IRQ_TYPE* definitions from libxl_arm.c to
public/device_tree_defs.h. Use them in Xen where appropriate.

Re-define the existing Xen internal IRQ_TYPEs as DT_IRQ_TYPEs: they
already happen to be the same, let make it clear.

Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
CC: ian.jackson@eu.citrix.com
tools/libxl/libxl_arm.c
xen/arch/arm/domain_build.c
xen/include/asm-arm/irq.h
xen/include/public/device_tree_defs.h [new file with mode: 0644]
xen/include/xen/device_tree.h